<?php
namespace Admin\Controller;

use Think\Controller;

class UserController extends Controller
{
    public function getUser()
    {
        $User = M('User');
        $user = $User->find();
        $users = $User->getByName('id');
        if (!empty($users)) {
            dump(__SELF__);
            dump(__APP__);
            dump(__MODULE__);
            dump(__CONTROLLER__);
            dump(__ACTION__);
            dump(__ROOT__);
            dump(__PUBLIC__);
            dump(__URL__);
            dump($users);
        } else {
            echo 'NULL';
        }
        $this->display();
    }
}

?>